package com.htt.base_library.util

import com.orhanobut.logger.Logger
import java.util.*


/**
 * @ClassName LogUtils
 * @Description 日志打印 中转 方便扩展，切换
 * @Author Hong
 * @Date 2022/2/25 11:42
 * @Version 1.0
 */
object LogUtils {
    val TAG = "Olipay"

    fun e(tag: String, message: String) {
        Logger.e("$tag:$message")
    }

    fun e(tag: String, message: Objects) {
        Logger.e(message.toString(), tag + "")
    }

    fun e(message: String) {
        Logger.e(message)
    }

    fun i(tag: String, message: String) {
        Logger.e(message, tag)
    }

    fun i(tag: String, message: Objects) {
        Logger.e(message.toString(), tag)
    }

    fun i(message: String) {
        Logger.e(message)
    }
}

